package model;

/**
 * AbstractDepartment entity provides the base persistence definition of the
 * Department entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractDepartment implements java.io.Serializable {

	// Fields

	private Integer id;
	private String departmentname;

	// Constructors

	/** default constructor */
	public AbstractDepartment() {
	}

	/** full constructor */
	public AbstractDepartment(String departmentname) {
		this.departmentname = departmentname;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDepartmentname() {
		return this.departmentname;
	}

	public void setDepartmentname(String departmentname) {
		this.departmentname = departmentname;
	}

}